Introduction to Programming

by Eric Rollins

based on the open-source web textbook

How to Think Like a Computer Scientist: Python Version

by Allen B. Downey, Jeffrey Elkner, and Moshe Zadka. Illustrations by John Dewey

Table of Contents

Chapter 1: The way of the program

Chapter 2: Variables, expressions, and statements

Chapter 3: Functions

Chapter 4: Conditionals and recursion

Chapter 5: Fruitful functions

Chapter 6: Iteration

Chapter 7: Strings

Chapter 8: Lists

Chapter 9: Histograms (truncated)

Chapter 10: Dictionaries

Chapter 11: Classes and Objects

Chapter 12: More classes

Chapter 13: Methods

Chapter 14: The rest of Python (new)

How to Think Like a Computer Scientist is hosted by the Open Book Project. Their mission statement endorses the use of the GNU Copyleft (and the GNU Free Documentation License ). Portions of the homework for this course are also based on LiveWires Python Course Materials, which also uses an Open License. Python itself has an Open Source based License Agreement.